package com.aube.interact.model;

import com.aube.rvi.util.StringUtils;

import java.io.Serializable;

/**
 * Created by huyaonan on 16/10/25.
 */
public class BaseModel implements Serializable {
    public String code;
    public String errormsg;

    public boolean success() {
        return "0000".equalsIgnoreCase(code) || StringUtils.isBlank(code);
    }
}
